package com.frank.oj.service.admin.training;

import com.frank.model.entity.training.TrainingCategory;
import com.frank.oj.common.exception.StatusFailException;

/**
 * @author frank
 * @Date 2024/4/8
 */
public interface AdminTrainingCategoryService {
    TrainingCategory addTrainingCategory(TrainingCategory trainingCategory) throws StatusFailException;

    void updateTrainingCategory(TrainingCategory trainingCategory) throws StatusFailException;

    void deleteTrainingCategory(Long cid) throws StatusFailException;
}
